package lab02.test22;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

public class test {
    public static void main(String[] args) {
        //给定一个字符串，将字符串中的所有大写字母变成小写字母，数字用0 来代替，其他符号用#代替
        String S="HJDSJAHDUIUAISCsjiassjdasdassuaijcsa26549885...///.;";
        for(int i = 0;i < S.length();i++) {
            char temp = S.charAt(i);

            if (temp >= 'A' && temp <= 'Z') {
                System.out.print((char)(temp+32));


            }else if (temp >= 'a' && temp <='z') {
                System.out.print(temp);
            }else if (temp >= '0' && temp <= '9') {
                System.out.print("0");
            }else{
                System.out.print("#");
            }
        }
    }
}
